package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.model.entity.ColumnInfo;

import java.util.List;

/**
 * 字段信息Mapper接口
 */
public interface ColumnInfoMapper extends BaseMapper<ColumnInfo> {
    List<ColumnInfo> getColumnByTableName(String tableName);

    /**
     * 批量插入字段信息
     */
    int insertBatch(List<ColumnInfo> columnInfoList);
}